/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 解析.node.charproperty.支持补集;

import 解析.ASCII;

/**
 *
 * @author yanxi
 */
public class HorizWS extends BmpCharProperty {

    @Override
    public boolean isSatisfiedBy正集 (int cp) {
        return cp == 0x09 || cp == 0x20 || cp == 0xa0
                || cp == 0x1680 || cp == 0x180e
                || cp >= 0x2000 && cp <= 0x200a
                || cp == 0x202f || cp == 0x205f || cp == 0x3000;
    }
    
    public String toString正集(){ return "\\h"; }
    public String toString补集(){ return "\\H"; }
}
